/**
 * Created with IntelliJ IDEA.
 * User: ajhin
 * Date: 8/17/13
 * Time: 8:58 PM
 * To change this template use File | Settings | File Templates.
 */
package societyGames.codeAlong.model
{
import societyGames.xmlFragment.XMLFragment;

public class Return extends XMLFragment
{
  override protected function getDefaultXML():XML
  {
    return _defaultXML;
  }

  public function get type():String
  {
    return _xml.@type;
  }

  [Bindable]
  public function set type(value:String):void
  {
    _xml.@type = value;
  }

  public function get description():String
  {
    return _xml.@description;
  }

  [Bindable]
  public function set description(value:String):void
  {
    _xml.@description = value;
  }

  private const _defaultXML:XML =
          <return type="void" description=""/>;
}
}
